﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
   public  class LanguageLevelBLL
    {
        private static readonly ILanguageLevelDAL LanguageLevelDal = DataAccess.CreateLanguageLevel();
        public static List<LanguageLevel> SelectLanguageLevel()
        {
            return LanguageLevelDal.SelectLanguageLevel();
        }
        public static LanguageLevel SelectLanguageLevelByLevelID(string LevelID)
        {
            return LanguageLevelDal.SelectLanguageLevelByLevelID(LevelID);
        }
        public static bool DeleteLanguageLevelByLevelID(string LevelID)
        {
            return LanguageLevelDal.DeleteLanguageLevel(LevelID);
        }
        public static bool InsertLanguageLevel(LanguageLevel cmodel)
        {
            return LanguageLevelDal.InsertLanguageLevel(cmodel);
        }
        public static bool UpdateLanguageLevel(LanguageLevel cmodel)
        {
            return LanguageLevelDal.UpdateLanguageLevel(cmodel);
        }

    }
}
